package net.hxz.modules.dao;

import java.util.List;

import net.hxz.modules.pojo.Type;

import org.springframework.stereotype.Repository;

@Repository
public interface TypeMapper extends BaseMapper<Type>{
	List<Type> getByParent(Long typeId);
	
	int countByParent(Long typeId);
	
	List<Type> getWithChildren(long typeId);
}
